﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net.Cache;
using System.Text;
using System.Threading.Tasks;

namespace Model.ViewModel
{
    public class RoleViewModel
    {
        public int rId { get; set; }
        [DisplayName("所属部门")]
        public int rDepId { get; set; }
        [Required(ErrorMessage = "角色名称不能为空！")]
        [DisplayName("角色名称")]
        public string rName { get; set; }
        [DisplayName("备注")]
        public string rRemark { get; set; }
        public bool rIsShow { get; set; }
        public bool rIsDel { get; set; }
        public System.DateTime rAddTime { get; set; }

        //由Id获得Name
        public string rDepName { get; set; }
    }
}
